package com.sailor.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description: spring 切面使用
 * @create: 2021-06-13 14:19:26
 * @author:wwz
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface Sailor {

    /**
     * 提示信息
     */
    String msg() default "即心即佛 非心非佛";

    /**
     * 时间间隙 毫秒值
     */
    long timeGap() default 2000;

}
